﻿<%@ Page Language="C#" MasterPageFile="~/admintractor/admin.master" AutoEventWireup="true" CodeFile="ArticleEdit.aspx.cs" Inherits="admintractor_ArticleEdit" Title="Thao tác bài viết" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="title">Quản lý bài viết </div>
					<div id="view">
						
					    <table style="width: 100%">
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    <asp:Label ID="lb_Error" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                                <td colspan="2" style="width:300px;">
                                    <asp:Label ID="lb_Panel" runat="server" Text="Khối thông tin hiển thị:*"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="width:120px;">
                                    Tiêu đề bài viết:*</td>
                                <td style="width:410px;">
                                    <asp:TextBox ID="txtName" runat="server" Width="400px"></asp:TextBox>
                                        </td>
                                <td colspan="2" rowspan="5" valign="top">
                                    <asp:CheckBoxList ID="CheckBoxList1" runat="server">
                                    </asp:CheckBoxList>
                                    <asp:Label ID="lb_view" runat="server" ></asp:Label>
                                        </td>
                            </tr>
                            <tr>
                                <td valign="top">
                                    Tóm tắt nội dung:</td>
                                <td>
                                    <asp:TextBox ID="txtSummary" runat="server" Width="402px" TextMode="MultiLine" 
                                        Height="99px"></asp:TextBox>
                                        </td>
                            </tr>
                            <tr>
                                <td>
                                    Hình ảnh:</td>
                                <td>
                                    <input type="file" ID="FileUpload1" runat="server" size="40" /></td>
                               
                            </tr>
                            <tr>
                                <td>
                                    Loại bài viết:</td>
                                <td>
                                    <asp:DropDownList ID="drop_Category" runat="server" Width="300px">
                                    </asp:DropDownList>
                                    </td>
                               
                            </tr>
                            
                            <tr>
                                <td>
                                    Nội dung chi tiết:*</td>
                                <td>
                                    <asp:Label ID="lb_image" runat="server"></asp:Label>
                                </td>
                               
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/fckeditor/" Width="820" Height="245px">
                </FCKeditorV2:FCKeditor></td>
                                
                                   
                            </tr>
                            <tr>
                                <td>
                                    Tác giả:<asp:Label ID="lb_Author" runat="server" Font-Bold="True"></asp:Label>
                                </td>
                                <td>
                                    <asp:CheckBox ID="cbStatus" runat="server" Text="Không hiển thị" />
                                        </td>
                                <td>
                                    &nbsp;</td>
                                    <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    <asp:Button ID="but_add" runat="server" Text="Thêm mới" 
                                        onclick="but_add_Click" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="but_cancle" runat="server" Text="Trở về" 
                                        onclick="but_cancle_Click" />
                                </td>
                                <td>
                                    &nbsp;</td>
                                    <td>
                                    &nbsp;</td>
                            </tr>
                            
                        </table>
						
					</div>
</asp:Content>

